<?php


namespace app\mod\utils;


use core\event\EventGroupMessage;
use core\Mod;
use utils\PcrUtils;

class TestMod extends Mod {

    public function eventGroupMessage(EventGroupMessage $event) {
        if ($event->getMessage()->string() === '#测试') {
            $event->getGroup()->sendMessage(PcrUtils::getDayStartAt());
        }
    }

}

